MediumVote is based on Eaton's excellent SimpleVote module.

In learning SimpleVote and VotingAPI I wanted to extend some of the features provided by SimpleVote, so I created MediumVote to:

1) Add ajax functionality using drupal.js included in the 4.7 releases.
2) Add multi-criteria voting (on either nodes or comments)
3) A menu option to select voting mode (percentages vs scores)

MediumVote has only been tested on version 4.7, as drupal.js is required.
Also, like SimpleVote, it requires the VotingAPI module, and won't run without it.
It also requires a CSS-capable browser, or the stars voting widget (used when percentage voting option is selectd) won't display properly.

I suggest you familiarize yourself with SimpleVote, VotingAPI and the ajax Handbook tutorials, as the work on MediumVote is largely lifted from that excellent work.

===============
Changes for Drupal 5 version

- update all hooks
- move load of css and js
- remove _mediumvote_get_modes -- the bare strings were getting stored in the DB. Voting wasn't working at all. Changed from constatns to the string values votingAPI expects
- added a voting permission
- separated theming functions into data and presentation: added get_WHATEVER functions that build the data then call the theme function.
- overhauled the ajax to use jquery. Based heavily on flag.module
- added a throbber. Again, flag module.
- combined the regular and ajax callbacks. Guess who? flag module
- theming function for the text returned by ajax.

TO DO
- I've not carried through ANY of the new theming to percentage voting! I don't need this at all right now and don't have time. The code is commented out and it shouldn't be too hard to adapt the theming stuff.
- Comments are currently disabled. Same thing!
- After voting with ajax, the widget is replaced with plain text. Ideally, the widget would get updated so you see the score and so you can change your vote, but I've not figured out how to reattach the jquery behaviour.

